<%-- 
    Document   : adminheader
    Created on : Jul 22, 2011, 11:02:44 PM
    Author     : Hai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    <link rel="stylesheet" href="styleAdminManager.css" type="text/css"/>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="js/newjavascript.js"></script>
</head>
<body>
    <%
    HttpSession sesson=request.getSession();
    if (session.getAttribute("admin") == null) {
      %>
      <jsp:forward page="loginAdmin.jsp"></jsp:forward>
      <%
    }
    //System.out.println(session.getAttribute("admin"));
    %>
    <div id="wrapper">
        <div id="header">

            <h1>Photo Share</h1>
            <img src="header_right.gif" alt="hinh"/>
        </div>
        <div id="nav">
            <ul>
                <li><a href="homeadmin.jsp">Home</a></li>
                <li><a href="ManagerPhoto.jsp">Photo</a></li>
                <li><a href="faq.jsp">FAQ</a></li>
                <li><a href="managecomment.jsp">Comment</a></li>
                <li><a href="ManagerUser.jsp">User</a></li>
                <li><a href="manageContest.jsp">Contest</a></li>
                <li class="end"><a href="ManagerCollection.jsp">Caterory</a></li>
            </ul>
        </div>
